<%@page contentType="text/html;charset=utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <base href="<%=basePath%>"/>
		<title>用户注册 - 当当网</title>
		<link href="css/global.css" rel="stylesheet" type="text/css" />
		<link href="css/layout.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="js/jquery-1.4.3.js"></script>
		<script type="text/javascript" src="js/register.js"></script>
	</head>
	<body>
		<div id="header">
			<div id="register_header">
  			 <div class="register_header_left"><img src="images/logo.gif" alt="logo" /></div>
  			 <div class="register_header_right"><a href="mainAction" class="blue" />首页</a> | <a href="product.html" class="blue">商品展示页</a>  | <a href="shopping.html" class="blue">购物车</a> |  <a href="login.html" class="blue">登录</a></div>
   			</div>
		</div>


<div id="main">
  <div class="register_content">
    <div class="register_top_bg"></div> 
    <div class="register_mid_bg">
      <ul>
        <li class="register_mid_left" style=" font-weight:normal;background-image:url(images/register_tag_left2.gif)">1. 填写注册信息</li>
        <li class="register_mid_mid" style="font-weight:bold;background-image:url(images/register_tag_mid2.gif)">邮箱验证</li>
        <li class="register_mid_right">3. 完成注册</li>
    </ul>
    </div>
    <div class="register_top_bg_mid">
    <div class="register_top_bg_two_left"></div>
    <div class="register_top_bg_two_right"></div>
    <div class="register_title_bg"><img src="images/register_pic_02.gif" alt="欢迎注册" />&nbsp;&nbsp;您所提供的资料不会做其他用途，敬请安心填写。</div>
    </div>
    <div class="register_dotted_bg"></div>
    <div class="register_message">
<%--    form 表单开始--%>
   <s:form action="userAction!regiestOk"  namespace="/user">
			<div class="validate_email"  style="position:relative;left:400px;">
				<h2>
					感谢您注册当当网！现在请按以下步骤完成您的注册!
				</h2>
				<div class="look_email">
					<h4>
						第一步：查看您的电子邮箱
					</h4>
					<div class="mess reduce_h">
						我们给您发送了验证邮件，邮件地址为:
						<span class="red"><span id="lblEmail">
							<s:a href="#"> <s:property value="user.email"/></s:a>
						</span>
						</span>
						<span class="t1"> 
						请登录您的邮箱收信。
						</span>
					</div>
					<h4>
						第二步：输入验证码 <s:property value="user.emailVerifyCode"/>
					</h4>
					<div class="mess">
						<span class="write_in">输入您收到邮件中的验证码：</span>
						<s:textfield name="emailCode" id="validatecode" cssClass="yzm_text" />
						<span style="color:red"><s:property value="errorInputEmailCode"/></span>
						<br/>
						<s:submit id="Button1" cssClass="finsh" value="激活用户"/>
						<input type="button" value="稍后激活" onclick="javascript:location='mainAction'" />
						<span id="errorMsg" class="no_right"></span>
					</div>
				</div>
			</div>
		</s:form>
    </div>
    
    
  </div>
  </div>









		
		
		<!--网站版权部分开始-->
<div id="footer">
    <div class="footer_top"><a href="#" target="_parent" class="footer_dull_red">公司简介</a> | <a href="#" target="_parent" class="footer_dull_red">诚证英才</a> | <a href="#" target="_parent" class="footer_dull_red">网站联盟</a> | <a href="#" target="_parent" class="footer_dull_red">百货招商</a> | <a href="#" target="_parent" class="footer_dull_red">交易条款</a></div>
    <iframe src="${pageContext.request.contextPath}/common/footer.jsp" height="50px" width="900px" frameborder="0"></iframe>
</div>
	</body>
</html>

